package com.qingyun.system.model.query;

import com.qingyun.system.common.base.BasePageQuery;
import com.qingyun.system.common.base.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import java.time.LocalDate;

/**
 *公司信息分页查询
 * @author khb78
 */
@Data
public class CompanyQuery extends PageParam {
    @Schema(description = "关键字")
    @Length(max = 200, message = "关键字最多200字符")
    private String keywords;

    @Schema(description = "开始时间")
    private LocalDate startTime;

    @Schema(description = "结束时间")
    private LocalDate endTime;

    @Schema(description = "状态: 0-审核中，1-通过，2-驳回")
    private Integer status;

    @Schema(description = "删除状态", hidden = true)
    private Integer deleted;
}
